﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class About : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        DataBind();
    }

    public static List<NewsData> GetNewsData()
    {
        List<NewsData> result = new List<NewsData>();

        result.Add(new NewsData() { Subject = "aaaa" });
        result.Add(new NewsData() { Subject = "bbb" });
        result.Add(new NewsData() { Subject = "aa22" });
        result.Add(new NewsData() { Subject = "aa1" });

        return result;
    }

    public class NewsData
    {
        private string subject;

        public string Subject
        {
            get { return subject; }
            set { subject = value; }
        }
    }
}

